﻿ 
// This is the output code from your template
// you only get syntax-highlighting here - not intellisense
using Microsoft.Phone.Controls;
using System.Collections;
using System.Collections.Generic;

namespace PhoneGap{
  public partial class NativeExecution{
     public NativeExecution(ref WebBrowser browser)
        {
            this.webBrowser = browser;
			            this.commands = new Dictionary<string, PhoneGapCommand>
                                {
                                    // TODO: These need to be included based on plugin configuration
									                                    { "Camera.GetPicture", new Plugins.Camera.GetPictureCommand() },
									                                    { "DebugConsole.debug", new Plugins.DebugConsole.DebugCommand() },
									                                    { "Device.GetAll", new Plugins.Device.GetAllCommand() },
									                                    { "Geolocation.GetCurrentPosition", new Plugins.Geolocation.GetCurrentPositionCommand() },
									                                    { "Network.IsReachable", new Plugins.Network.IsReachableCommand() },
									                                    { "Notification.Alert", new Plugins.Notification.AlertCommand() },
                                    { "Notification.Confirm", new Plugins.Notification.ConfirmCommand() },
                                    { "Notification.Beep", new Plugins.Notification.BeepCommand() },
                                    { "Notification.Vibrate", new Plugins.Notification.VibrateCommand() },
																		{ "Accelerometer.GetCurrentAcceleration", new Plugins.Accelerometer.GetCurrentAccelerationCommand() },
                                    { "Orientation.GetCurrentOrientation", new Plugins.Orientation.GetCurrentOrientationCommand() },
                                    { "Orientation.ClearWatch", new Plugins.Orientation.ClearWatchCommmand() },
                                    { "Orientation.WatchOrientation", new Plugins.Orientation.WatchOrientationCommmand() },
																		{ "Send.Sms", new Plugins.Sms.SendCommand() },
                                    { "Telephony.CallNumber", new Plugins.Telephony.CallCommand() }
									                                };

            this.watchers = new Watchers();
        }
  }
}
 
